package com.qinaxiwit.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.qianxi.wit.pojo.TbAdministrator;
import com.qinaxiwit.mapper.TbAdministratorMapper;
import com.qinaxiwit.service.TbAdministratorService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author wyh
 * @since 2021-01-13
 */
@Service
public class TbAdministratorServiceImpl extends ServiceImpl<TbAdministratorMapper, TbAdministrator> implements TbAdministratorService {

    @Autowired
    private TbAdministratorMapper administratorMapper;

    @Override
    public int findbyUsername(String username,String password) {


        return administratorMapper.findUsername(username,password);
    }
}
